package com.ruoyi.project.modules.domainInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 归属域对象信息对象 t_domain_object_info
 * 
 * @author smallrain
 * @date 2022-03-26
 */
public class DomainObjectInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 归属域信息表ID */
    @Excel(name = "归属域信息表ID")
    private Long domainId;

    /** 归属域对象名称 */
    @Excel(name = "归属域对象名称")
    private String objectName;

    /** 归属域对象英文名称 */
    @Excel(name = "归属域对象英文名称")
    private String objectEnName;

    /** 归属域对象描述 */
    @Excel(name = "归属域对象描述")
    private String objectDescription;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String domainName;
    private String domainEnName;

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public String getDomainEnName() {
        return domainEnName;
    }

    public void setDomainEnName(String domainEnName) {
        this.domainEnName = domainEnName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDomainId(Long domainId) 
    {
        this.domainId = domainId;
    }

    public Long getDomainId() 
    {
        return domainId;
    }
    public void setObjectName(String objectName) 
    {
        this.objectName = objectName;
    }

    public String getObjectName() 
    {
        return objectName;
    }
    public void setObjectEnName(String objectEnName) 
    {
        this.objectEnName = objectEnName;
    }

    public String getObjectEnName() 
    {
        return objectEnName;
    }
    public void setObjectDescription(String objectDescription) 
    {
        this.objectDescription = objectDescription;
    }

    public String getObjectDescription() 
    {
        return objectDescription;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("domainId", getDomainId())
            .append("objectName", getObjectName())
            .append("objectEnName", getObjectEnName())
            .append("objectDescription", getObjectDescription())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
